public class B extends A
{ 
 
public String var1 = " var1 : B";
public String var2 = " var2 : B";
 
public void mA1()
  { System.out.println(" mA1 : B "); }
 
public void mA2()
  { System.out.println(" mA2 : B ");
           super.mA2(); }
 
public void mB3()
 {  System.out.println(" mB3 : B ");
         mA2(); }
 
public void printVar1()
{ System.out.println(this.var1) ; }
 
public void printVar2()
{ System.out.println(this.var2) ; }
 
public static void staticMethod()
 { System.out.println(" static B "); }
 
public void callStaticMethod()
 { System.out.println(" call B "); 
 staticMethod(); }
 
}
